modified the file type to filter png and swp files

i will ignore swp, png and other pic files