only does stuff if files exists