Switched from raw promises to async/await. Outlined error handling function to reduce amount of nested code. Added comment about the new file intent.
Switched from raw promises to async/await. Outlined error handling function to reduce amount of nested code. Added comment about the new file intent.