can read files to string, but regex to find year not working