creates file with filename of pid