fixed creation of directory include instead of file