Files of different lengths are temporarily just outputted to the screen