fix for gcc
create a file if it does not exist