fix file.hpp: multiple definations