version 1.0 (resolve symbolic link files and optimize code)