removing mode parameter

we fixed the mode in the file definition