I think it would be good to have unit tests for that method - getWikiaFile - I can work on it as a part of https://wikia-inc.atlassian.net/browse/VE-495