When uploading, the file field needs some checks, it seems. So refactor them into check_file_field and use around.