minor modifications to how file size is formatted
offshored date formatting to server-side