maybe change method name to verifyIfFileUploaded() since it is validating method