Loading files and updating content (+tests)