Fixing issues with file commits