using file instead of fog for images