extract filepath handling; start with generating mosaic tiles