Fixed problem with linked files