Check File Format