change create file methods in install class to pass path of file to be created as param