File dir = getUserDirectory(user);
String content;
try {
content = toString(new File(dir, FILE_NAME_ACTIVE), UTF_8);
} catch (FileNotFoundException ex) {
throw new ScriptNotFoundException("There is no active script.");
}
return new File(dir, content);
}