Added an endpoint to create new files for the current logged in user.

Added an endpoint to create new files for the current logged in user.