optimized files tests