Remove custom check for filename argument