Delete files created by error and create folders