Use isComplete to check if file is valid instead of explicity checking length