Fixing the file field to use managed_file