Added filters for writing and reading in mainpage