Some minor improvements on our file manager class.