Forgot to rewind the file, fixed now.