How to copy exact 50 lines of code from a file when a timestamp is there