Adding file_max_size check on file uploads