Checking fname str in file_exists