Suppressing a warning message "No such file or directory".