Reworked some fixes for file source pathing caused by htaccess file.