File Open: Don't try to analyse the file if it's a directory.