filepath is converted to string