Add file uploading rules