Get to stage of sending file, parsing and returning JSON to client