Fixed bug where linked files weren't openable