bugfix: file path could not be converted to lowercase