Fix to enable small files read/write