make static file path resolution a method... so it can be modified