Store the current file in data

Use it for testing, rather then fetching the page every time.