#267: Define 'file_upload_validation()'

Resolves #267.