Extracted Azure Logic to a file manager