make saving easier
dirty implemetation of file filter