added the filechange functionality [feature_requests item #3637]