Display error message if filename is directory
Unix-like arguments