removed boost from reading file extension