Passing non svg and null files through