Files must be closed before they can be added to projects
Added functions to help manage absolute and relative links