Use fp instead of filename