Included some file validation, unexpected behavior from strftime