fixed file redirect