Properly filtered out head *.(jpg|png) files