Testing generating files