Split file monitoring and base reload code into different classes.