Apparently vim deletes its files when it save. This caused some problems