Reuse getMTimeFor method

Small code improvement :)