prefix and file format handling