added quoting for file names
made the method more human friendly