Here is a solution , which will work with
managed_file
basically checking fo...