Create new file

Works well. Haven't check all the boundary cases, (like null parameters), needs PUT, and DELETE method, and needs better commenting. Also assumes that you have the database set up.