Test rejection if no file passed