Update for using with mail queue

Update composer and file classes.