tested without passing attributes to filter on
improved search algorithm slightly
moved date and filesize formatting functions into an object