adapted file creation