added possibility to create file for testing reasons