Added optional filter for loading data only from a specific year