Pseudo code and add some logic with file Version