Nice. Will this code run into an error if a file does not have a file extension?