Close file after creating empty file
Respond back 200 after receiving complete request