delete file with 500 error code
create file