Handling the way files are formatted when replacing a file on an admin edit page