Last commit forgot to add that file check to the other relevent function.