File references fix