Made file type check nicer looking