MDL-31989: Fixed timefilter completely. Supports external files now