test for create file in files dir of app.