Changed file open mode