fixed file testing