Setting sub-files ready for action