added file type parameters parsing