use File.getPath instead of toString