Fixed bug with loading file partials