test for linked file
cleaned up