better file referencing