fixed bug with dots in Filename

Signed-off-by: Werner Macho <werner.macho@gmail.com>