add support for dots in filename