Modified setter and getter for core files