Added the read and filter function
Added plot1